package com.ourteam.system.service;

/**
 *
 * Template Name : 业务服务实现基类
 * Template Version : 1
 * Template Last Modfiy Date : Mon Nov 06 10:52:01 CST 2017
 * Auto Generate Date : 2018-07-20 12:04:38
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


abstract class AbstractSystemNotifyConfigService extends net.service.DefaultServiceImpl
    implements ISystemNotifyConfigService {
    protected static final Log logger = LogFactory.getLog(AbstractSystemNotifyConfigService.class);

    /**
     * SysNotifyConfig DAO Instance
    */
    protected com.ourteam.system.dao.ISysNotifyConfigDAO sysNotifyConfigDao;

    /**
         *  Get SysNotifyConfig DAO Instance
         */
    public com.ourteam.system.dao.ISysNotifyConfigDAO getSysNotifyConfigDao() {
        return sysNotifyConfigDao;
    }

    /**
         *  Set SysNotifyConfig DAO Instance
         */
    public void setSysNotifyConfigDao(
        com.ourteam.system.dao.ISysNotifyConfigDAO aDao) {
        sysNotifyConfigDao = aDao;
    }

    /**
     * 取得系统通知配置
    
     * @throws Exception
     */
    protected abstract com.ourteam.system.domain.SystemNotifyConfigBean[] doGetSystemNotifyConfigs()
        throws Exception;

    /**
     * $method.description
    
     * @throws Exception
     */
    public com.ourteam.system.domain.SystemNotifyConfigBean[] getSystemNotifyConfigs()
        throws Exception {
        try {
            com.ourteam.system.domain.SystemNotifyConfigBean[] result = doGetSystemNotifyConfigs();

            return result;
        } catch (Exception e) {
            logger.error("do getSystemNotifyConfigs error", e);
            throw e;
        }
    }
}
